import fetch from '../util/fetch'
import { jaz } from '../util/api.config'

let spreadJsAPI = {}

spreadJsAPI.getFormData = (data) => fetch({
  // url: `${jaz}/report/rpt/rpttmp/getPlatRptList.json`,
  url: 'http://localhost:9090/rpt-web/report/rpt/rpttmp/getPlatRptList.json',
  method: 'POST',
  data
})
spreadJsAPI.testApi = (params) => fetch({
  url: 'http://localhost:9090/rpt-web/bione/admin/pwsec/getOverdue.json',
  method: 'GET',
  params
})

export default spreadJsAPI
